package com.sleet.yuemiao.even;

import org.springframework.context.ApplicationEvent;

/**
 * @program: yuemiao
 * @ClassName DemoEvent
 * @description:
 * @author: Liyongxing
 * @create: 2021-12-24 20:57
 **/
public class DemoEvent extends ApplicationEvent {

    private String msg;

    public DemoEvent(Object source,String msg) {
        super(source);
        this.msg=msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }



}